<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<style type="text/css">
.detect {
	width: 100%;
	border: 1px solid #B8BAB9;
}

.detect td {
	padding: 0.5em 0px 0.5em 0px;
	text-align: center;
	border: 1px solid #B8BAB9;
}

.tdsd td {
	padding: 0.5em 0px 0.5em 0px;
}

.detect th {
	padding: 0.5em 0px 0.5em 0px;
	text-align: center;
	border: 1px solid #B8BAB9;
	color: #333333;
}
</style>
<body>
	<table class="detect">
		<tr>
			<th>序号</th>
			<th>任务名字</th>
			<th>开始时间</th>
			<th>结束时间</th>
			<th>执行人</th>
			<th>评论</th>
		</tr>
		<c:forEach items="${historys }" var="history" varStatus="status">
			<tr>
				<td>${status.index+1 }</td>
				<td>${history.activityName }</td>
				<td><fmt:formatDate value="${history.startDate }"
						pattern="yyyy-MM-dd" /></td>
				<td><fmt:formatDate value="${history.endDate }"
						pattern="yyyy-MM-dd" /></td>
				<td><pt:labels type="user" argument1="${history.userName }"
						single="true"></pt:labels></td>
				<td>${history.message }</td>
			</tr>
		</c:forEach>
	</table>
</body>